SUBDIRS=src test

all:
	@for dir in $(SUBDIRS); \
	do \
		cd $$dir ; \
		make -s; \
		cd ..; \
	done    


clean:
	@for dir in $(SUBDIRS); \
	do \
		cd $$dir ; \
		make clean; \
		cd ..; \
	done   

